package com.zhan.ielts.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.zhan.frame.core.dao.domain.Identifiable;

public class PushMessage implements Identifiable {

	private static final long serialVersionUID = 2080831536172935907L;

	/**
	 * @fields id 主键
	 */
	private String id;

	/**
	 * @fields tokenNum token号
	 */
	private String tokenNum;

	/**
	 * @fields wantReceive 是否想接收
	 */
	private String wantReceive;
	/**
	 * @fields model 模式
	 */
	private String mode;

	/**
	 * @fields deviceType 应用名称
	 */
	private String appName;

	private String content;

	private String userId;

	public String getTokenNum() {
		return tokenNum;
	}

	public void setTokenNum(String tokenNum) {
		this.tokenNum = tokenNum;
	}

	public String getWantReceive() {
		return wantReceive;
	}

	public void setWantReceive(String wantReceive) {
		this.wantReceive = wantReceive;
	}

	public String getMode() {
		return mode;
	}

	public void setMode(String mode) {
		this.mode = mode;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}

	@Override
	public String getId() {
		return this.id;
	}

	@Override
	public void setId(String id) {
		this.id = id;
	}
}
